<template>
  <div class="container">
    <!-- 顶部的全局组件 -->
    <HospitalTop></HospitalTop>
    <div class="content">
      <!-- 展示路由组件的区域 -->
      <router-view></router-view>
    </div>
    <HospitalBottom></HospitalBottom>
    <Login v-if="UserStore.visiable"></Login>
  </div>
</template>

<script setup lang="ts">
import userStore from '@/store/modules/user.ts'
let UserStore = userStore()
</script>

<style scoped lang="scss">
.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  .content {
    width: 1200px;
    min-height: 700px;
    margin-top: 70px;
  }

}
</style>
